import request from '~/utils/request'

export default{
  // 查询用户的基本资料
  getBasicInfo() {
    return request({
      url: `/api/ucenter/member/auth/getBasicInfo`,
      method: 'get'
    })
  },
  // 查询这个用户的订单
  getBasicInfo() {
    return request({
      url: `/api/ucenter/member/auth/getOrderAll`,
      method: 'get'
    })
  },
  // 删除订单
  deleteOrder(id) {
    return request({
      url: `/api/order/trade-order/auth/deleteOrder/${id}`,
      method: 'delete'
    })
  }
  // 查询这个用户的收藏 TODO

  // 修改密码 TODO
}
